<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<table class="table table-bordered">
    <thead>
    <tr>
        <th width="30%" class="text-center">账号</th>
        <th class="text-center" width="30%">密码</th>
        <th width="10%" class="text-center">状态</th>
        <th width="20%" class="text-center">使用时间</th>
        <th width="15%" class="text-center">持有用户</th>
    </tr>
    </thead>
    <tbody class="fs12">

    <tr th:if="!${#lists.isEmpty(dataMap['list'])}" th:each="entity : ${dataMap['list']}">
        <td class="text-center" th:text="${entity['account']}"></td>
        <td class="text-center" th:text="${entity['camilo']}"></td>
        <td class="text-center">
            <span th:if="${entity['status']}==1" class="fs14 c-master" data-toggle="tooltip" data-placement="top" data-original-title="未使用"><i class="fa fa-battery-full"></i></span>
            <span th:if="${entity['status']}==2" class="fs14 c-999" data-toggle="tooltip" data-placement="top" data-original-title="已使用"><i class="fa fa-battery-empty"></i></span>

        <td class="text-center">
            <span class="fs12" th:if="${entity['useTime']}==null">—</span>
            <span class="fs12" th:if="${entity['useTime']}!=null" th:text="${entity['useTime']}"></span>
        </td>
        <td class="text-center">
            <span class="fs12" th:if="${entity['cusUser']}==null">—</span>
            <span class="fs12" th:if="${entity['cusUser']}!=null" th:text="${entity['cusUser']['nickname']}"></span>
        </td>
    </tr>
    <tr th:if="${#lists.isEmpty(dataMap['list'])}">
        <td colspan="5" class="text-center">
            <div class="noDataTipsBox">
                <p><span class="c-4e fs16">亲，还没有数据~~~</span></p>
            </div>
        </td>
    </tr>
    </tbody>
</table>
<!-- 分页，开始 -->
<div data-th-replace="layout/adminPage"></div>
<!-- 分页，结束 -->
